<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="jumbotron text-center" style="margin-bottom:0">
    <h1>江先进的招婚启示</h1>
</div>

<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
    <a class="navbar-brand" href="#">导航</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="collapsibleNavbar">
        <ul class="navbar-nav">
            <li class="nav-item">
                <a class="nav-link" href="#">链接</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">链接</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">链接</a>
            </li>
        </ul>
    </div>
</nav>
<div class="container" style="margin-top:30px">
    <div class="row">
<div class="col-sm-4">
    <h2>江先进</h2>
    <h5>我的照片:</h5>
    <div class="fakeimg"><img style="width: 60%;height: 60%" src="https://xwz-work.oss-cn-beijing.aliyuncs.com/work-test/%E6%B1%9F%E5%85%88%E8%BF%9B%E5%B8%85%E7%85%A7.jpg"></div>
    <p>关于我的介绍..</p>
    <h3>一些链接</h3>
    <p>说明文本</p>
    <ul class="nav nav-pills flex-column">
        <li class="nav-item">
            <a class="nav-link active" href="#">激活状态</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="#">链接</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="#">链接</a>
        </li>
        <li class="nav-item">
            <a class="nav-link disabled" href="#">禁用</a>
        </li>
    </ul>
    <hr class="d-sm-none">
</div>
        <div class="col-sm-8">
            <h2>标题</h2>
            <h5>副标题</h5>
            <div class="fakeimg">图像</div>
            <p>一些文本..</p>
            <p>菜鸟教程，学的不仅是技术，更是梦想！！！菜鸟教程，学的不仅是技术，更是梦想！！！菜鸟教程，学的不仅是技术，更是梦想！！！</p>
            <br>
            <h2>标题</h2>
            <h5>副标题</h5>
            <div class="fakeimg">图像</div>
            <p>一些文本..</p>
            <p>菜鸟教程，学的不仅是技术，更是梦想！！！菜鸟教程，学的不仅是技术，更是梦想！！！菜鸟教程，学的不仅是技术，更是梦想！！！</p>
        </div>
    </div>
</div>

<div class="jumbotron text-center" style="margin-bottom:0">
    <p>底部内容</p>
    <button onclick="sh()">
        测试
    </button>
</div>
</body>
<script>
    let arr = [
        [1, 9, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22],
        [2, 8, 12, 18, 22],
        [3, 7, 12, 13, 14, 15, 16, 18, 22],
        [4, 6, 16, 18, 22],
        [5, 5, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22],
    ];

    function sh() {
        demo(arr);
    }
    function demo(arr) {
        let str = "";
        for (let i = 0; i < arr.length; i++) {
            for (j = 0; j < 30; j++) {
                if (arr[i].indexOf(j) > -1) {
                    str += "█";
                } else {
                    str += " ";
                }
            }
            str += "\n";
        }
        return str;
    }
    console.log(demo(arr));
</script>
</html>